{{define "common/sidebar.html"}}
<!-- /navbar-static-side -->
<div class="navbar-default sidebar" role="navigation">
    <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">
            <!--<li class="sidebar-search">
                <div class="input-group custom-search-form">
                    <input type="text" class="form-control" placeholder="Search...">
                    <span class="input-group-btn">
                    <button class="btn btn-default" type="button">
                        <i class="fa fa-search"></i>
                    </button>
                </span>
                </div>
            </li>-->

            <!-- my addition -->
           
            <li>
                <a href="/admin/stats/"><i class="fa fa-bar-chart-o fa-fw"></i> 监控统计<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/admin/stats/system"> 系统状态</a>
                    </li>
                    <li>
                        <a href="/admin/stats/epgproxy"> 连接池服务</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
            <li>
                <a href="/admin/logs/index"><i class="fa fa-table fa-fw"></i> 日志查询<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/admin/logs/errorlog"> 错误日志</a>
                    </li>
                    <li>
                        <a href="/admin/logs/slowquery"> 慢查询日志</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
            <li>
                <a href="/admin/setting/index"><i class="fa fa-table fa-fw"></i> 配置管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="/admin/setting/index"> 系统配置</a>
                    </li>
                    <li>
                        <a href="/admin/setting/consul"> CONSUL配置</a>
                    </li>
                </ul>
                <!-- /.nav-second-level -->
            </li>
            <li>
                <a href="/admin/api/index"><i class="fa fa-table fa-fw"></i> API管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                     <li>
                        <a href="/admin/api/index"> 节点状态</a>
                    </li>
                    <li>
                        <a href="/admin/api/syncpriv"> 权限同步</a>
                    </li>
                    <!--<li>
                        <a href="/admin/api/nodes"> 节点管理</a>
                    </li>-->
                </ul>
                <!-- /.nav-second-level -->
            </li>

            <!-- /. my addition-->
            

            
        </ul>
    </div>
    <!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->
{{end}}